图片
/image/upload
使用这个接口上传图片,图片上传之后接口返回 id。前端把这个 id 用于其他接口中,就可以关联图片和其他数据了
method
POST
request
image_file file M
response
{
data: {
"img_url": url, str M
"img_path_id": filename str M
},
code: 0,
msg: "ok"
}
logic
把图片上传到腾讯云
microserver
/image/upload